<?php
require Yii::app()->theme->viewPath . '/include/doctype.php';
?>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><?php echo $module['category']; ?>&nbsp;-&nbsp;Power by XmCMS</title>
    <meta name="Description" content=" <?php echo $module['category']; ?>"/>
    <meta name="Keywords" content="<?php echo $module['category']; ?>"/>
    <?php
    require Yii::app()->theme->viewPath . '/include/htmlheader.php';
    ?>
<head>
<body>
<div id="wrap">

    <?php
    require Yii::app()->theme->viewPath . '/include/header.php';
    ?>

    <div id="content" class="fixed">
        <div id="page-header"><img src="<?php echo $flashs['item_bar'][0]['imageurl']; ?>" width="880" height="180" alt=""/>
            <div id="page-header-title"><?php echo $flashs['item_bar'][0]['title']; ?></div>
        </div>
        <div class="fixed">
            <div class="col580">
                <?php
                if (sizeof($employees) > 0){
                foreach ($employees as $e){
                ?>
                <div class="blog-post">
                    <h3 class="blog-post-title"><a href="<?php echo Yii::app()->request->baseUrl?>/index.php/employee/view/id/<?php echo $e['employ_id']; ?>"><?php echo $e['title']; ?></a></h3>

                    <div class="blog-post-date">
                        <span><?php echo Yii::t('front','sendtime'); ?><?php echo $e['createtime']; ?></span>&nbsp;&nbsp;<span><?php echo Yii::t('front','workspace'); ?><?php echo $e['place']; ?></span>&nbsp;&nbsp;<span><?php echo Yii::t('front','employnum'); ?><?php echo $e['employnum']; ?></span><span
                            class="fr"><a href="<?php echo Yii::app()->request->baseUrl?>/index.php/employee/view/id/<?php echo $e['employ_id']; ?>"><?php echo Yii::t('front','more'); ?></a></span></div>
                    <ul class="blog-post-info fixed">
                        <li class="author"><?php echo $e['username']; ?></li>
                        <li class="categories">
                            <?php
                            if (sizeof($a['tags']) > 0) {
                                $i = 0;
                                foreach ($a['tags'] as $t) {
                                    if ($i == 0) {
                                        ?>
                                        <a href="#"><?php echo $t['tag']; ?></a>
                                    <?php
                                    } else {
                                        ?>
                                        ,<a href="#"><?php echo $t['tag']; ?></a>
                                    <?php
                                    }
                                    $i++;
                                }
                            }
                            ?>
                        </li>
                    </ul>
                    <?php echo csubstr(strip_tags($e['description']), 0, 255); ?>
            </div>
            <div class="hr"></div>
            <?php
            }
            }
            ?>
				<div class="pager tac">
					<?php
					require Yii::app()->theme->viewPath.'/include/fun.php';
					getbar($pb);
					?>
				</div>
        </div>
        <div class="col280 last">
            <?php
            require Yii::app()->theme->viewPath . '/include/menulist.php';
            ?>
        </div>
    </div>
</div>

<?php
require Yii::app()->theme->viewPath . '/include/footer.php';
?>

</div>
</body>
</html>